package com.group9.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class FruitInfo {
    private Integer fruitId;

    private String fruitName;

    private BigDecimal fruitPrice;

    private BigDecimal fruitActivityCost;

    private BigDecimal fruitPriceCost;

    private Float fruitWeight;

    private Date fruitDate;

    private Integer salesVolume;

    private Integer fruitMajorPic;

    private Date modifiedTime;

    private Byte fruitStatus;

    private String other1;

    private String other2;

    private String fruitDescript;

    public Integer getFruitId() {
        return fruitId;
    }

    public void setFruitId(Integer fruitId) {
        this.fruitId = fruitId;
    }

    public String getFruitName() {
        return fruitName;
    }

    public void setFruitName(String fruitName) {
        this.fruitName = fruitName == null ? null : fruitName.trim();
    }

    public BigDecimal getFruitPrice() {
        return fruitPrice;
    }

    public void setFruitPrice(BigDecimal fruitPrice) {
        this.fruitPrice = fruitPrice;
    }

    public BigDecimal getFruitActivityCost() {
        return fruitActivityCost;
    }

    public void setFruitActivityCost(BigDecimal fruitActivityCost) {
        this.fruitActivityCost = fruitActivityCost;
    }

    public BigDecimal getFruitPriceCost() {
        return fruitPriceCost;
    }

    public void setFruitPriceCost(BigDecimal fruitPriceCost) {
        this.fruitPriceCost = fruitPriceCost;
    }

    public Float getFruitWeight() {
        return fruitWeight;
    }

    public void setFruitWeight(Float fruitWeight) {
        this.fruitWeight = fruitWeight;
    }

    public Date getFruitDate() {
        return fruitDate;
    }

    public void setFruitDate(Date fruitDate) {
        this.fruitDate = fruitDate;
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }

    public Integer getFruitMajorPic() {
        return fruitMajorPic;
    }

    public void setFruitMajorPic(Integer fruitMajorPic) {
        this.fruitMajorPic = fruitMajorPic;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Byte getFruitStatus() {
        return fruitStatus;
    }

    public void setFruitStatus(Byte fruitStatus) {
        this.fruitStatus = fruitStatus;
    }

    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = other1 == null ? null : other1.trim();
    }

    public String getOther2() {
        return other2;
    }

    public void setOther2(String other2) {
        this.other2 = other2 == null ? null : other2.trim();
    }

    public String getFruitDescript() {
        return fruitDescript;
    }

    public void setFruitDescript(String fruitDescript) {
        this.fruitDescript = fruitDescript == null ? null : fruitDescript.trim();
    }

    @Override
    public String toString() {
        return "FruitInfo{" +
                "fruitId=" + fruitId +
                ", fruitName='" + fruitName + '\'' +
                ", fruitPrice=" + fruitPrice +
                ", fruitActivityCost=" + fruitActivityCost +
                ", fruitPriceCost=" + fruitPriceCost +
                ", fruitWeight=" + fruitWeight +
                ", fruitDate=" + fruitDate +
                ", salesVolume=" + salesVolume +
                ", fruitMajorPic=" + fruitMajorPic +
                ", modifiedTime=" + modifiedTime +
                ", fruitStatus=" + fruitStatus +
                ", other1='" + other1 + '\'' +
                ", other2='" + other2 + '\'' +
                ", fruitDescript='" + fruitDescript + '\'' +
                '}';
    }
}